package com.share.thread.pc;

/**
 * @desc:
 * @author:caifan
 * @date:2022/1/28
 */
public class PC02 {
    public static void main(String[] args) {
        MyBlockingForCondition queue = new MyBlockingForCondition(10);
        new Thread(new Producer02(queue)).start();
        new Thread(new Producer02(queue)).start();
        new Thread(new Producer02(queue)).start();
        new Thread(new Consumer02(queue)).start();
        new Thread(new Consumer02(queue)).start();
        new Thread(new Consumer02(queue)).start();
    }
}
